﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
using Microsoft.Xna.Framework.Media;

namespace Pyramid_Game
{
    class Enemy
    {
        #region Declarations

        bool isAlive = false;
        Rectangle position = new Rectangle();
        int difficulty = 0;

        #endregion

        #region Property

        public bool IsAlive
        {
            set { isAlive = value; }
            get { return isAlive; }
        }
        public Rectangle Position
        {
            set { position = value; }
            get { return position; }
        }
        public int Difficulty
        {
            set { difficulty = value; }
            get { return difficulty; }
        }

        #endregion

        #region Constructor

        public Enemy(Rectangle position)
        {
            this.position = position;
        }

        public void Update()
        {
            position.Y += difficulty;
        }

        public void Initialize()
        {
            position.Y = 0;
        }

        #endregion
    }
}
